#ifndef THREADSHELL_H
#define THREADSHELL_H
#include <QThread>
class ThreadShell :public QThread
{

public:
    explicit ThreadShell();
public:
    QString shellcmd;
    void rec_shell(QString sh);
    void setflg(int f);
    int flag;
    int pid;
private:
    void run();


};

#endif // THREADSHELL_H
